var str = '123--c--D--C456---78'
var reg = /[-][-]\D/g
var arr =[]
str.replace(reg,(args)=>{
    arr.push(args)
})
console.log(arr)